package com.ykg.service;


import com.ykg.dto.EntrustDTO;
import com.ykg.pojo.Entrust;
import com.ykg.request.CheckEntrustRequest;
import com.ykg.request.UpdateEntrustRequest;

import java.util.List;

/**
 * 类(接口)：
 * Created on 2021/6/24 14:49.
 * Author: zetong
 * Description:
 */
public interface IEntrustService {
    List<Entrust> getEntrust();//查看委托单列表
    EntrustDTO entrustDetailed(String entrustId);//查看委托单详细信息
    int generateEntrust(CheckEntrustRequest checkEntrustRequest);//生成委托单
    /*
    更新委托单状态
     */
    int updateEntrust(UpdateEntrustRequest updateEntrustRequest);
}

